<include file="Shared:Header" />
<body class="Bodybg">
    
<form id="FF">
    <div class="tools" id="tools">
        {:W('RolePerm/RolePermTop')}
    </div>
    <div class="search" id="search">
        <table border="0" id="SearchTable" class="SearchTable" cellpadding="3">
            <thead>
                <tr>
                    <td width="70" align="right">真实姓名：</td>
                    <td width="175">
                        <input id="TrueName" name="TrueName" type="text" />
                    </td>
                    <td width="70" align="right">手机号码：</td>
                    <td width="175">
                        <input id="Mobile" name="Mobile" type="text" />
                    </td>
                    <td width="70" align="right">状态：</td>
                    <td width="180">
                        <select id="LoanStatus" name="LoanStatus">
                            <option value="-5">全部</option>
                          <?php foreach($LoanStatus as $k=>$v):?>
                            <option value="{$k}">{$v}</option>
                          <?php endforeach;?>
                        </select>
                    </td>
                    <td>
                        <input id="btnSearch" onclick="$.XB.search();" type="button" value="查 看">
                    </td>
                    <td >
                        <input id="MoreSearch" onclick="$.XB.moresearch()" type="button" value="更多条件">
                    </td>
                </tr>
            </thead>
            <tbody id="stbody">
                <tr>
                    <td width="70" align="right">申请号：</td>
                    <td width="175">
                        <input id="LoanNo" name="LoanNo" type="text" />
                    </td>
                    <td width="70" align="right">订单号：</td>
                    <td width="175">
                        <input id="OrderSn" name="OrderSn" type="text" />
                    </td>
                    <td width="70" align="right">打款方式：</td>
                    <td width="180">
                        <select id="ReplaymentType" name="ReplaymentType">
                            <option value="-5">全部</option>
                            <option value="0">未打款</option>
                            <option value="1">支付宝</option>
                            <option value="2">微信</option>
                            <option value="3">银联</option>
                            <option value="4">代付</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td width="70" align="right">放款时间：</td>
                    <td width="200">
                        <input id="StartTime" name="StartTime" type="text" class="easyui-datebox" data-options="width:93,editable:false" />
                        -
                        <input id="EndTime" name="EndTime" type="text" class="easyui-datebox" data-options="width:93,editable:false" />
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div id="TabelContent" class="TabelContent">
        <table id="DataList"></table>
    </div>
</form>

<script type="text/javascript">
    var frozenColumns = [
        { field: 'ID', checkbox: true },
        { field: 'TrueName', title: '真实姓名', width:80},
        { field: 'Mobile', title: '手机号码', width:90},
    ];
    var columns = [
    { field: 'TgAdminID', title: '渠道管理', width: 150  },
        { field: 'ApplyMoney', title: '申请金额', width: 70  },
        { field: 'AdoptMoney', title: '快速申请费', width: 70  },
        { field: 'FJMoney', title: '用户管理费', width: 70  },
        { field: 'Interest', title: '息费', width: 60  },
//      { field: 'CoMoney', title: '优惠劵金额', width: 70  },
        { field: 'ApplyDay', title: '申请天数', width: 60  },
        { field: 'ApplyTime', title: '申请时间', width: 130  },
        { field: 'OpenM', title: '放款金额', width: 70  },
        { field: 'OpenTime', title: '放款时间', width: 150  },
        { field: 'LoanStatus', title: '放款状态', width: 100  },
        { field: 'FKadminID', title: '放贷人员', width: 70  },
         { field: 'FkServiceID', title: '财务', width: 70  },
        { field: 'ShTime', title: '审核时间', width: 130  },        
        { field: 'YyFkTime', title: '预约还款时间', width: 150  },
        { field: 'ReplaymentType', title: '打款方式', width: 130  },
        { field: 'RepaymentAccount', title: '账号/卡号', width: 130  },
        { field: 'TradeNum', title: '交易号', width: 130  },
//      { field: 'UserAccount', title: '会员账号', width: 130  },
        { field: 'OrderSn', title: '订单号', width: 150  },
        { field: 'LoanNo', title: '申请号', width: 150  },
        
    ];
    $.XB.datagrid({ "frozenColumns": frozenColumns, "columns": columns});
    $.XB.enter();
</script>
    {:W('RolePerm/RolePermBottom')}
</body>
<include file="Shared:Footer" />

